<template>
    <div class="person">
        <h2>我的名字是:{{name}}</h2>
    </div>
</template>

<script>
export default {
    name :'Person',
    data(){
        return{
            name:'靖安乾'
        }
    }
}
</script>

<style scoped>
    .person{
        background: pink;
        padding: 10px;
    }
</style>